package com.demo.common.pojo;

import java.io.Serializable;

/**
 * ajax 请求返回对象
 * @param <T>
 */
public class AjaxRtVO<T> implements Serializable{
    private boolean statu;
    private int code;
    private String msg;
    private String errMsg;
    private T data;

    public boolean isStatu() {
        return statu;
    }

    public void setStatu(boolean statu) {
        this.statu = statu;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
